<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Test</title>
<script type="text/javascript"
	src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" src="json2.js"></script>
<script type="text/javascript">
	$(function send() {

		$.post( "http://localhost:8080/onefingerserver/json/newrequest", {mac:"35325423542345235", sessionId:"2", items:[ "1", "2" ], counts: ["3", "4" ] },  function(data) {
			document.getElementById("ResponseDiv").innerHTML = data;
			alert("Response: " + data);
		});
	});
</script>


</head>
<body>
	<h1>Response</h1>
	<div id="ResponseDiv">Waiting...</div>
	
</body>	